<ion-view view-title="二维码">
    <ion-pane>
        <!--<ion-header-bar class="index_head">
          <button class="button button-icon icon ion-android-arrow-back" style="color: #fff"></button>
          <div class="h1 title"> 店铺二维码</div>
        </ion-header-bar>-->
        <ion-header-bar class="index_head">
            <button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
            <div class="h1 title"> 店铺二维码</div>
        </ion-header-bar>
        <ul class="bar bar-subheader code_tab">
            <li ng-class="{true:'active', false:''}[showMa=='1']" ng-click="showErweima('1')">
                <a>图文二维码</a>
            </li>
            <li ng-class="{true:'active', false:''}[showMa=='2']" ng-click="showErweima('2')">
                <a>极简二维码</a>
            </li>
        </ul>
        <ion-content class="has-subheader stable-bg">
            <div class="code_con" id="erweimaId">
                <!--图文二维码-->
                <div class="code_con_main" ng-if="showMa=='1'">
                    <!--<div class="code_head">-->
                        <!--<img src="img/commimg/cope_img.jpg" ng-src="{{$root.baseUrl}}{{shopBackground}}" alt="" class="code_head_img">-->
                    <!--<span class="cope_por">-->
                        <!--<img src="img/commimg/touxiang.jpg" ng-src="{{$root.baseUrl}}{{userHeadImg}}" alt="">-->
                    <!--</span>-->
                    <!--</div>-->
                    <!--<p class="cope_tit">-->
                        <!--{{userName}}-->
                    <!--</p>-->

                    <!--<p class="cope_text">-->
                        <!--&lt;!&ndash;这是一段很长很长的话，但是我有不知道说什么，看一看两行是不是自动截取，不是就在设置，好累，写了好多，还得继续写吗&ndash;&gt;-->
                        <!--{{shopperDesc}}-->
                    <!--</p>-->

                    <!--<div class="cope_ewm">-->
                        <!--&lt;!&ndash;<img src="img/commimg/ewm.png" alt="">&ndash;&gt;-->
                        <!--<img ng-src="{{$root.baseUrl+QRcodeUrl}}" alt="">-->

                        <!--<p>-->
                            <!--扫描二维码进店铺-->
                        <!--</p>-->
                    <!--</div>-->

                    <img ng-src="{{qrcodeHbUrl}}?x-oss-process=image/resize,w_750&{{ossran}}" alt="" style="width: 100%">
                </div>
                <!--极简二维码-->
                <div class="code_con_main" ng-if="showMa=='2'">
                    <div class="cope_img_jd">
                        <!--<img src="img/commimg/ewm.png" alt="">-->
                       <img ng-src="{{qrcodeUrl}}?x-oss-process=image/resize,w_750&{{ossran}}" alt="">

                        <p>
                            扫描二维码进店铺
                        </p>
                    </div>

                </div>
            </div>
        </ion-content>
        <ion-footer-bar class="light-bg" style="margin-bottom: env(safe-area-inset-bottom);">
            <div class=" code_foot">
              <span class="">
                  <a href="#" class="button" ng-click="saveImg()">保存至相册</a>
              </span>
              <span class="">
                   <a href class="button" ng-click="shareImg()">分享</a>
              </span>
            </div>
        </ion-footer-bar>
    </ion-pane>
</ion-view>